
# http://www.mathblog.dk/project-euler-40-digit-fractional-part-irrational-number/

#d1 :  1/1 + 0 = 1 => 1

#d10 :  (10-9)/2 + 9 = 9 1/2 => 1

#d100 :  (100-9)/2 + 9 = 54 1/2 => 5

#d1.000 :  (1.000-189)/3 + 99 = 369 1/3 => 3

#d10.000 :  (10.000 – 2.889) / 4 + 999 = 2776 3/4 => 7

#d100.000 :  (100.000 – 38.889) /5 + 9.999 = 22.221 1/5 => 2

#d1.000.000 :  (1.000.000 – 488.889)/6 + 99.999  = 185.184 1/6 => 1

#So the result is 1*1*5*3*7*2*1 = 210
